package priv.life.week;

import java.util.Date;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Bean;


public class Main {
	
	
	@Bean
	public Date date() {
		return new Date();
		
	}
	@Bean	
	public BeanLife beanLife() {
		return new BeanLife();
	}
	
	public static void main(String[] args) {
		
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Main.class);
		System.out.println(BeanLife.map);
		
		//context.close();
	}
}
